﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="ChiTietHoaDon.aspx.cs" Inherits="XuaNhapKho.ChiTietHoaDon" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="breadLine">
        <ul class="breadcrumb">
            <li><a href="#">Hệ thống quản lý xuất nhập kho</a> <span class="divider">></span></li>
            <li class="active">Chi tiết hóa đơn</li>
        </ul>
    </div>
    <div class="workplace">
        
        <div class="row-fluid">
            <div class="span12">
                <div class="head">
                    <div class="isw-grid">
                    </div>
                    <h1>
                        Danh sách chi tiết hóa đơn</h1>
                    <div class="clear">
                    </div>
                </div>
                <div class="block-fluid">
                    <asp:GridView ID="grvChiTietHoaDon"  BorderStyle="None" GridLines="None"  CssClass="table" runat="server" AutoGenerateColumns="False">
                        <Columns>
                            <asp:BoundField DataField="Ngay" HeaderText="Ngày" />
                            <asp:BoundField DataField="MaSanPham" HeaderText="Mã hàng" />
                            <asp:BoundField DataField="TenNhomSanPham" HeaderText="Nhóm sản phẩm" />
                            <asp:BoundField DataField="TenDonVi" HeaderText="Đơn vị tính" />
                            <asp:BoundField DataField="SoLuong" HeaderText="Số lượng" />
                            <asp:TemplateField HeaderText="Đơn giá">
                                <ItemTemplate>
                                    <%# String.Format("{0:0,0}",Double.Parse(Eval("GiaSanPham").ToString()))  %>
                                </ItemTemplate>
                            </asp:TemplateField>
     
                            <asp:BoundField DataField="VAT" HeaderText="VAT(%)" />
                            <asp:BoundField DataField="GhiChu" HeaderText="Ghi chú" />
                            
                        </Columns>
                    </asp:GridView>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
